package com.zz.springboot.mapper;

import com.zz.springboot.model.SecondSelection;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface SecondSelectionMapper extends Mapper<SecondSelection> {

    /**
     * 插入批量数据
     *
     * @param dataList
     */
    public int insertBatchSecondSelection(List<SecondSelection> dataList);

    /**
     * 根据类型获取二次挑选数据
     * @param type 0-风险较小；1-风险较大
     * @return
     */
    public SecondSelection selectDataByType(Integer type);
}